Don't intermingle targets between packages
authorAlex Crichton <alex@alexcrichton.com>
Wed, 11 Mar 2015 20:32:59 +0000 (13:32 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 11 Mar 2015 20:32:59 +0000 (13:32 -0700)
commit350bd8d2bf1b528668c96602a1564eada6df6f18
treeffa9f2b7c40824f4fdae21fd1d861148471badce
parent66849deaa4605a63ab1a4ba9cb09ac604a1b52e9
Don't intermingle targets between packages

When loading targets to compile, be sure to use the targets from the package
that's being passed down to the compilation step, not the one that was passed in
which is overridden.

Closes #1404
src/cargo/ops/cargo_compile.rs
tests/test_cargo_package.rs